<template>
    <div class="mmv-topic-label-selector">
        <div class="mmv-topic-label-selector__item">
            <a class="mmv-topic-label-selector__link" href target="_blank">
                <span>砂糖</span>
            </a>
        </div>
    </div>
</template>

<style lang="less">
.mmv-topic-label-selector {
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    &__item {
        height: 24px;
        line-height: 24px;
        display: inline-flex;
        align-items: center;
        color: #666;
        border-radius: 12px;
        margin-right: 10px;
        background-color: #f5f5f5;
        position: relative;
        cursor: pointer;
    }
    &__add {
        background-color: #fff;
        border: 1px solid #4cc3ff;
        color: #00b2ff;
        padding: 0 12px;
        transition-duration: 0.2s;
        transition-property: border-color, color;
        &:hover {
            border-color: #00d5ff;
            color: #00d5ff;
        }
        .icon-jiahao {
            font-size: 10px;
            margin-left: 10px;
        }
    }
    &__delete {
        font-size: 10px;
        padding: 0 12px 0 10px;
    }
    &__link {
        display: inline-block;
        color: inherit;
        padding: 0 12px;
        &:hover {
            color: #00b2ff;
        }
    }
}

.mmv-topic-label-selector__item.mmv-topic-label-selector__item-editable
    .mmv-topic-label-selector__link {
    padding-right: 0;
}
</style>